package com.jeecms.wicool.entity.orders.base;

import java.math.BigDecimal;
import java.sql.Timestamp;

import com.jeecms.wicool.entity.shops.ShopInfo;
import com.jeecms.wicool.entity.user.Address;
import com.jeecms.wicool.entity.user.UserInfo;

/**
 * AbstractWeixinMaterial entity provides the base persistence definition of the
 * WeixinMaterial entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractOrders implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String orderCode;
	private ShopInfo shop;
	private UserInfo user;
	private BigDecimal orderPrice;
	private BigDecimal discountPrice;
	private BigDecimal freight;
	private BigDecimal totalPrice;
	private Short payway;
	private String paywayName;
	private String expressCom;
	private String expressNo;
	private String remark;
	private Short status;
	private String statusName;
	private Timestamp createTime;
	private Timestamp updateTime;
	private Integer type;// 订单类型(拼单、秒杀、VIP专享等)
	private Integer typeId;// 订单类型ID(拼单、秒杀、VIP专享等)
	

	// Constructors

	/** default constructor */
	public AbstractOrders() {
	}


	public AbstractOrders(Integer id, String orderCode, ShopInfo shop,
			UserInfo user, BigDecimal orderPrice, BigDecimal discountPrice,
			BigDecimal freight, BigDecimal totalPrice, Short payway,
			String expressCom, String expressNo, String remark, Short status,
			Timestamp createTime, Timestamp updateTime) {
		super();
		this.id = id;
		this.orderCode = orderCode;
		this.shop = shop;
		this.user = user;
		this.orderPrice = orderPrice;
		this.discountPrice = discountPrice;
		this.freight = freight;
		this.totalPrice = totalPrice;
		this.payway = payway;
		this.expressCom = expressCom;
		this.expressNo = expressNo;
		this.remark = remark;
		this.status = status;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public String getOrderCode() {
		return orderCode;
	}


	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}


	public ShopInfo getShop() {
		return shop;
	}


	public void setShop(ShopInfo shop) {
		this.shop = shop;
	}


	public UserInfo getUser() {
		return user;
	}


	public void setUser(UserInfo user) {
		this.user = user;
	}


	public BigDecimal getOrderPrice() {
		return orderPrice;
	}


	public void setOrderPrice(BigDecimal orderPrice) {
		this.orderPrice = orderPrice;
	}


	public BigDecimal getDiscountPrice() {
		return discountPrice;
	}


	public void setDiscountPrice(BigDecimal discountPrice) {
		this.discountPrice = discountPrice;
	}


	public BigDecimal getFreight() {
		return freight;
	}


	public void setFreight(BigDecimal freight) {
		this.freight = freight;
	}


	public BigDecimal getTotalPrice() {
		return totalPrice;
	}


	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}


	public Short getPayway() {
		return payway;
	}


	public void setPayway(Short payway) {
		this.payway = payway;
	}


	public String getExpressCom() {
		return expressCom;
	}


	public void setExpressCom(String expressCom) {
		this.expressCom = expressCom;
	}


	public String getExpressNo() {
		return expressNo;
	}


	public void setExpressNo(String expressNo) {
		this.expressNo = expressNo;
	}


	public String getRemark() {
		return remark;
	}


	public void setRemark(String remark) {
		this.remark = remark;
	}


	public Short getStatus() {
		return status;
	}


	public void setStatus(Short status) {
		this.status = status;
	}


	public Timestamp getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}


	public Timestamp getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}


	public static long getSerialversionuid() {
		return serialVersionUID;
	}


	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}


	public String getStatusName() {
		return statusName;
	}


	public void setPaywayName(String paywayName) {
		this.paywayName = paywayName;
	}


	public String getPaywayName() {
		return paywayName;
	}


	public Integer getType() {
		return type;
	}


	public void setType(Integer type) {
		this.type = type;
	}


	public Integer getTypeId() {
		return typeId;
	}


	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}


}